package com.bauer.base.thread;

/**
 * @author bauer wei
 */
public class MainThreadDemo {

    /**
     * main 函数默认会启动一个main线程
     * jconsole pid 查看线程信息
     */
    public static void main(String[] args) throws Exception {

        new Thread(() -> {
            while (true) {

            }
        }).start();


        System.out.println("main end");
    }


}
